package com.example.demo.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * author: 1057718341@qq.com
 * date: 2021-07-19
 */
@Api
@RestController
public class DemoController {

    @ApiOperation("demo示例")
    @GetMapping("/hello")
    String hello() {
        return "Spring is here!";
    }


}